<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html class=" -webkit-">
	<head>				
		<meta charset="utf-8">
		<title>杰利联合</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
		<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
		<meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
		<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
		<meta content="no-cache" http-equiv="pragma">
		<meta content="0" http-equiv="expires">
		<meta content="telephone=no, address=no" name="format-detection">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
		<link rel="stylesheet" type="text/css" href="${ctxStatic}/jiu/css/mobile_module.css?v=1492676217" media="all">
		<script type="text/javascript" src="${ctxStatic}/jiu/js/jquery-2.0.3.min.js"></script>
		<script type="text/javascript" src="${ctxStatic}/jiu/js/prefixfree.min.js?v=1492676217"></script>
		<script type="text/javascript" src="${ctxStatic}/jiu/js/zepto.min.js"></script>
		<script type="text/javascript" src="${ctxStatic}/jiu/js/flipsnap.min.js?v=1492676217"></script>
		<link href="${ctxStatic}/jiu/css/common.css?v=1492676217" rel="stylesheet" type="text/css">
		<link rel="stylesheet" href="${ctxStatic}/jiu/css/style.css" />
	</head>
	<body class="withFoot">
		<div class="top_tab" style="position: fixed;top: 0;z-index: 2;width: 100%;">
			<a href="" style="font-size: 20px;">审核</a>
		</div>
		<div class="order_list" style="margin-top: 50px;">
			<ul class="u">
				
				<c:forEach items="${jiuDefrayLogList}" var="jiuDefrayLog">
					<li>					
						<div class="goods_item" style="min-height: 90px;">
							<img src="${jiuDefrayLog.tiHeadimgurl}" style="height: 90px;width: 90px;">
							<div class="info" style="margin-left: 30px;">
								<p class="name" style="font-size: 16px;">${jiuDefrayLog.tiRealName}</p>
								<p class="" style="font-size: 14px;">
									<span style="color: #999;">金额</span>
									<span class="orange">￥${jiuDefrayLog.money}</span>
								</p>							
									<p style="margin-top:20px;color:#787878;"><fmt:formatDate value="${jiuDefrayLog.createTime}" type="both" pattern="yyyy-MM-dd HH:mm:ss" /></p>													
							</div>
							
							<c:choose>
							    <c:when test="${jiuDefrayLog.status eq 0}">
							    	<a href="javascript:toExamineDefray(${jiuDefrayLog.id})"><button class="btn yellow_btn" style="">未审核</button></a>
							    </c:when>
							    <c:when test="${jiuDefrayLog.status eq 1}">
							    	<button class="btn yellow_btn" style="background-color: #999;">已到账</button>
							    </c:when>
							    <c:when test="${jiuDefrayLog.status eq 2}">
							    	<button class="btn yellow_btn" style="background-color: #999;">支出失败</button>
							    </c:when>
							    <c:when test="${jiuDefrayLog.status eq 3}">
							    	<button class="btn yellow_btn" style="background-color: #999;">已驳回</button>
							    </c:when>
							    <c:otherwise>
							    </c:otherwise>
							</c:choose>
						</div>
					</li>
				</c:forEach>
				
			</ul>
		</div>
		<!-- 底部导航 -->
		<%-- <%@ include file="/WEB-INF/views/modules/jiuFront/footer.jsp"%> --%>
		
		<script>
			function toExamineDefray(id){
				window.location.href="${ctxFront }/jiu/toDefrayList?uid=${uid}&defrayLogId="+id;
			}
		</script>
	</body>
</html>